<div class="phongtraosvs view">
<h2><?php  __('Phongtraosv');?></h2>
	<dl><?php $i = 0; $class = ' class="altrow"';?>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Id'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $phongtraosv['Phongtraosv']['id']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Cap'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $this->Html->link($phongtraosv['Cap']['id'], array('controller' => 'caps', 'action' => 'view', $phongtraosv['Cap']['id'])); ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Chidoansv'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $this->Html->link($phongtraosv['Chidoansv']['id'], array('controller' => 'chidoansvs', 'action' => 'view', $phongtraosv['Chidoansv']['id'])); ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Loaiphongtrao'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $this->Html->link($phongtraosv['Loaiphongtrao']['id'], array('controller' => 'loaiphongtraos', 'action' => 'view', $phongtraosv['Loaiphongtrao']['id'])); ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Tenphongtrao'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $phongtraosv['Phongtraosv']['tenphongtrao']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Ngaybatdau'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $phongtraosv['Phongtraosv']['ngaybatdau']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Ngayketthuc'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $phongtraosv['Phongtraosv']['ngayketthuc']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Ghichu'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $phongtraosv['Phongtraosv']['ghichu']; ?>
			&nbsp;
		</dd>
	</dl>
</div>
<div class="actions">
	<h3><?php __('Actions'); ?></h3>
	<ul>
		<li><?php echo $this->Html->link(__('Edit Phongtraosv', true), array('action' => 'edit', $phongtraosv['Phongtraosv']['id'])); ?> </li>
		<li><?php echo $this->Html->link(__('Delete Phongtraosv', true), array('action' => 'delete', $phongtraosv['Phongtraosv']['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $phongtraosv['Phongtraosv']['id'])); ?> </li>
		<li><?php echo $this->Html->link(__('List Phongtraosvs', true), array('action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Phongtraosv', true), array('action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Caps', true), array('controller' => 'caps', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Cap', true), array('controller' => 'caps', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Chidoansvs', true), array('controller' => 'chidoansvs', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Chidoansv', true), array('controller' => 'chidoansvs', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Loaiphongtraos', true), array('controller' => 'loaiphongtraos', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Loaiphongtrao', true), array('controller' => 'loaiphongtraos', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Thanhtichsvs', true), array('controller' => 'thanhtichsvs', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Thanhtichsv', true), array('controller' => 'thanhtichsvs', 'action' => 'add')); ?> </li>
	</ul>
</div>
<div class="related">
	<h3><?php __('Related Thanhtichsvs');?></h3>
	<?php if (!empty($phongtraosv['Thanhtichsv'])):?>
	<table cellpadding = "0" cellspacing = "0">
	<tr>
		<th><?php __('Id'); ?></th>
		<th><?php __('Sinhvien Id'); ?></th>
		<th><?php __('Phongtraosv Id'); ?></th>
		<th><?php __('Thanhtichsv'); ?></th>
		<th><?php __('Ghichu'); ?></th>
		<th class="actions"><?php __('Actions');?></th>
	</tr>
	<?php
		$i = 0;
		foreach ($phongtraosv['Thanhtichsv'] as $thanhtichsv):
			$class = null;
			if ($i++ % 2 == 0) {
				$class = ' class="altrow"';
			}
		?>
		<tr<?php echo $class;?>>
			<td><?php echo $thanhtichsv['id'];?></td>
			<td><?php echo $thanhtichsv['sinhvien_id'];?></td>
			<td><?php echo $thanhtichsv['phongtraosv_id'];?></td>
			<td><?php echo $thanhtichsv['thanhtichsv'];?></td>
			<td><?php echo $thanhtichsv['ghichu'];?></td>
			<td class="actions">
				<?php echo $this->Html->link(__('View', true), array('controller' => 'thanhtichsvs', 'action' => 'view', $thanhtichsv['id'])); ?>
				<?php echo $this->Html->link(__('Edit', true), array('controller' => 'thanhtichsvs', 'action' => 'edit', $thanhtichsv['id'])); ?>
				<?php echo $this->Html->link(__('Delete', true), array('controller' => 'thanhtichsvs', 'action' => 'delete', $thanhtichsv['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $thanhtichsv['id'])); ?>
			</td>
		</tr>
	<?php endforeach; ?>
	</table>
<?php endif; ?>

	<div class="actions">
		<ul>
			<li><?php echo $this->Html->link(__('New Thanhtichsv', true), array('controller' => 'thanhtichsvs', 'action' => 'add'));?> </li>
		</ul>
	</div>
</div>
